# CMake package configuration file for the @PROJECT_NAME@ module

@PACKAGE_GUARD@
@PACKAGE_INIT@

set(SOFA_GUI_COMMON_HAVE_SOFA_GL @SOFA_GUI_COMMON_HAVE_SOFA_GL@)

find_package(Sofa.Config REQUIRED)
sofa_find_package(Sofa.Simulation.Common REQUIRED)
sofa_find_package(Sofa.Component.Setting QUIET REQUIRED)
sofa_find_package(Sofa.Component.Collision.Response.Contact QUIET REQUIRED)
sofa_find_package(Sofa.GUI.Component QUIET REQUIRED)
if(NOT TARGET cxxopts)
    sofa_find_package(cxxopts QUIET REQUIRED)
endif()

if(SOFA_GUI_COMMON_HAVE_SOFA_GL)
    sofa_find_package(Sofa.GL QUIET REQUIRED)
endif()

if(NOT TARGET @PROJECT_NAME@)
    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
endif()

check_required_components(@PROJECT_NAME@)
